adTempus API
PreviousUpNext
IIndependentObjects::Remove Method

Removes the specified item

C++
HRESULT Remove(VARIANT index);
C#
Remove(VARIANT index);
Visual Basic
Sub Remove(index As VARIANT)
Parameters 
Description 
[in] VARIANT index 
The ordinal or OID of the item to remove. The collection is 0-based: valid ordinals range from 0 to Count-1. 

If the ordinal is invalid or no object with the specified OID is found the method fails with error ADT_E_NOT_FOUND.

adTempus API Reference version 3.0.0.0, revised 10/30/2008